﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
/// This object represents the properties and methods of a ActivityNews.
/// </summary>
namespace YouHP.Model
{
    public class ActivityNewsInfo : IHydratable
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Introduction { get; set; }
        public string Body { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string Area { get; set; }
        public string Dimensions { get; set; }
        public int HasImage { get; set; }
        public string ImagePath { get; set; }
        public string Keyword { get; set; }
        public string Source { get; set; }
        public DateTime UpdateTime { get; set; }

        public ActivityNewsInfo()
        {
            HasImage = 0;
            Title = Introduction = Body = Area = Dimensions = ImagePath = Keyword = Source = "";
        }

        #region IHydratable
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }
}
